package com.xiaotu.service.redission;


import com.xiaotu.dto.CommentThumbDto;

/**
 * @author zhangxiao
 * @create 2021-08-31 13:28
 */
public interface RedissionService {

    Object commentThumbUp(CommentThumbDto commentThumbDto);

    Object commentThumbDown(CommentThumbDto commentThumbDto);

    CommentThumbDto commentThumbInfo(String redisKey, String mapKey);

    Integer getCommentNum(String redisKey);

    Object getCommentThumInfo(Integer commentId, Integer userId);
}
